Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update CommandLineUtils #319

Merged
merged 1 commit into from
Nov 19, 2024
Merged

update CommandLineUtils #319

merged 1 commit into from
Nov 19, 2024

Conversation

Directory.Packages.props Outdated Show resolved Hide resolved
@@ -234,7 +234,7 @@ class CodeGenArguments
public string OutputFileName { get; set; }
public IEnumerable<string> SkipInterfaces { get; set; }
public Dictionary<string, string> Interfaces { get; set; }
public List<string> Files { get; set; }
public IReadOnlyList<string> Files { get; set; }
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The List doesn't work with the McMaster.Extensions.CommandLineUtils's package?
How did you find out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compiler reports:
Cannot implicitly convert type 'System.Collections.Generic.IReadOnlyList<string?>' to 'System.Collections.Generic.List<string>'. An explicit conversion exists (are you missing a cast?)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this line

Files = _files.Values,

Got it.

@tmds
Copy link
Owner

tmds commented Nov 19, 2024

@tibel the tool has no tests. Did you do some manual verification?

@tibel tibel force-pushed the update-CommandLineUtils branch from 35afe20 to 5b47c3b Compare November 19, 2024 10:22
@tibel
Copy link
Contributor Author

tibel commented Nov 19, 2024

@tibel the tool has no tests. Did you do some manual verification?

I ran some commands on a Raspberry Pi to check if the behavior hasn't changed.

@tibel tibel force-pushed the update-CommandLineUtils branch from 5b47c3b to 7fb65ea Compare November 19, 2024 10:42
@tmds
Copy link
Owner

tmds commented Nov 19, 2024

lgtm, thanks!

@tmds tmds merged commit efcdc50 into tmds:main Nov 19, 2024
1 check passed
@tibel tibel deleted the update-CommandLineUtils branch November 19, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants